package cn.com.aiton.educenter.client;

import cn.com.qiter.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-cms")
@Component
public interface DictionaryClient {

    //根据课程id和用户id查询订单表中订单状态
    @GetMapping("/educms/dictionary/getByName/{name}")
    public Result getByName(@PathVariable("name") String name);
}
